<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:DeepEarth.BingMapsToolkit.Client.Controls">
	<ResourceDictionary.MergedDictionaries>
		<ResourceDictionary Source="/DeepEarth.BingMapsToolkit.Client.Common;component/Resources/CommonStyles.xaml" />
	</ResourceDictionary.MergedDictionaries>

	<Style TargetType="local:Snapshot">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="local:Snapshot">
					<Border Background="{TemplateBinding Background}"
                            BorderBrush="{TemplateBinding BorderBrush}"
                            BorderThickness="{TemplateBinding BorderThickness}">
						<StackPanel Orientation="Horizontal">
							<Button ToolTipService.ToolTip="Create and send link to this map" Name="PART_SnapshotButton" Width="20" Style="{StaticResource ButtonStyle}"  Margin="5,0,0,0" >
								<Image Source="/DeepEarth.BingMapsToolkit.Client.Controls.Snapshot;component/Images/email.png" Stretch="Uniform"/>
							</Button>
						</StackPanel>
					</Border>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
</ResourceDictionary>
